<template>
    <div>
      <h1>测试封装的request</h1>
    </div>
  </template>
  
  <script>
  import ajax from "@/utils/request.js";
  export default {
    async created() {
      //   search_info_item?stu_id=
      let result = await ajax({
        method: "get",
        url: "/search_info_item",
        params: { stu_id: "1" },
        headType: "",
      });
      console.log(result);
    },
  };
  </script>
  
  <style lang="scss" scoped>
  </style>